<div class="nav print_h"> <a href="{:U('Order/index')}">订单列表</a> <a class="sel"  href="#">订单详细</a> </div>
<style type="text/css">
.xdd_t1{ width:980px; margin:0 auto; margin-top:20px; }
.ckdd_ddxx{ margin-top:20px;}
.ckdd_dh{ font-size:18px; color:#18a9eb; font-family:"微软雅黑";}
.ckdd_ddnr{ margin-top:10px; border:1px solid #d7d6d6;}
.ckdd_ddnr1{ line-height:38px; color:#333; margin-top:10px; width:920px; margin-left:40px; }
</style>
<div class="hy_bg">
  <div class="xdd_t1">
    <div class="ckdd_ddxx">
      <div class="ckdd_dh">订单号 :{$order.orderno}</div>
      <div class="ckdd_ddnr">
        <table width="980" border="0" class="ckdd_ddnr1">
          <tr>
            <td>订单状态：<span style="color:#49b44b; font-weight:bold;">{$order.order_status|get_order_status}</span> &nbsp; 支付状态：<span style="color:#49b44b; font-weight:bold;">{$order.pay_status|get_pay_status}</span>  <if condition="$order['pay_status'] eq 1">&nbsp;付款时间：<span style="color:#49b44b; font-weight:bold;">{$order.pay_time|stringtime}</span></if> &nbsp;下单时间：<span style="color:#49b44b; font-weight:bold;">{$order.create_time|stringtime}</span></td>
          </tr>
		            <tr>
            <td>收件人：{$order.truename} &nbsp; 手机：{$order.phone}</td>
          </tr>
		  	<tr>
            <td>地址：{$order.province}  {$order.city}  {$order.area} {$order.address}</td>
          </tr>
          <tr style="display:none;">
            <td>订单备注：{$order.order_detail|htmlspecialchars_decode|trim_textarea}</td>
          </tr>
		  <tr><td>人工审核</td></tr>
          <tr>
            <td ><div class="qxdd_qxan">
                <form action="{:U('Order/order_action')}" method="post">
                支付状态：<select name="pay_status" id="pay_status"   style="height:30px;">
				  <option value="0">未支付</option>
				  <option value="1">已支付</option>
				  <option value="2">支付失败</option>
				</select>  发货状态：<select name="order_status" id="order_status"  style="height:30px;">
                    <option value="1">未发货</option>
                    <option value="2">已发</option>
					<option value="3">已收货</option>
                    <option value="4">订单已取消</option>
                  </select>  <span id="kds">快递名称：<input type="text" value="{$order.kuaidi}" name="kuaidi" id="kuaidi" /> &nbsp; 快递单号：<input type="text" name="kuaidi_no" id="kuaidi_no" value="{$order.kuaidi_no}" />
                  <input type="hidden" name="id" value="{$order.order_id}">
                  <input type="submit" value="确定" /></span>
                </form>
              </div></td>
          </tr>
        </table>
		<script type="text/javascript">
		$(function(){
		$('#order_status').val({$order.order_status});
		$('#pay_status').val({$order.pay_status});
		})
		</script>
      </div>
      <div class="ckdd_xxnr">
        <div class="ckdd_xxbt">
          <div class="ckdd_xxnr2">
            <div class="cxx_nr2">

			
 <table width="700" border="0" cellspacing="1" bgcolor="#d7d6d6" style="margin-top:20px; width:700px; line-height:45px; color:#666; margin-bottom:30px;"  >
                <tr>
                  <td align="center" valign="middle" bgcolor="#FFFFFF">产品名称</td>
                  <td width="140" align="center" valign="middle" bgcolor="#FFFFFF">产品图片</td>
                  <td width="180" align="center" valign="middle" bgcolor="#FFFFFF">参数</td>
				  <td width="80" align="center" valign="middle" bgcolor="#FFFFFF">产品原价</td>
                  <td width="80" align="center" valign="middle" bgcolor="#FFFFFF">产品价格</td>
				  <td width="80" align="center" valign="middle" bgcolor="#FFFFFF">数量</td>
				  <td width="80" align="center" valign="middle" bgcolor="#FFFFFF">小计</td>
                </tr>
                <volist name="cart" id="item">
                  <tr>
                    <td  align="center" valign="middle" bgcolor="#FFFFFF">{$item.product_name}</td>
                    <td  align="center" valign="middle" bgcolor="#FFFFFF"><img src="__ROOT__{$item.picture}" width="80px" /></td>
                    <td  align="center" valign="middle" bgcolor="#FFFFFF">{$item.cloud}</td>
					<td  align="center" valign="middle" bgcolor="#FFFFFF">{$item.original_price}</td>
                    <td  align="center" valign="middle" bgcolor="#FFFFFF">{$item.product_price}</td>
					<td  align="center" valign="middle" bgcolor="#FFFFFF">{$item.product_num}</td>
				<td  align="center" valign="middle" bgcolor="#FFFFFF">{$item['product_price']*$item['product_num']}</td>
                  </tr>
                </volist>
                <tr>
                  <td colspan="7" valign="middle" bgcolor="#FFFFFF"><table width="960" border="0" style="line-height:40px; color:#333; margin:10px 0px;">
                      <tr>
					    
                        <td style="font-weight:bold; font-size:14px; color:#49b44b; text-align:right">总价：￥ {$order.total}</td>
                      </tr>
                      <tr>
                        <td c align="center"><div class="lqyhj" style="text-align:center; display:none"><a href="javascript:window.print();" target="_blank">打印</a></div></td>
                      </tr>
                    </table></td>
                </tr>
              </table>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
